package controller

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

type ProductController struct{}

func (p *ProductController) GetProduct(c *gin.Context) {
	productID := c.Param("id")
	c.JSON(http.StatusOK, gin.H{
		"id":   productID,
		"name": "Product A",
	})
}

func (p *ProductController) CreateProduct(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "Product created",
	})
}
